package com.cq.hd.member.api.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class AppMemberCardPageVo implements Serializable {

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "次卡名称")
    private String cardName;

    @ApiModelProperty(value = "次卡费用")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal cardCost;

    @ApiModelProperty(value = "活动发布次数")
    private Integer activeCount;

    @ApiModelProperty(value = "排序")
    private Integer cardSort;

}
